﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="SurveyPrivacy.aspx.cs"   ValidateRequest="false" Inherits="Votations.NSurvey.WebAdmin.SurveyPrivacy" %>
<%@ Register TagPrefix="uc1" TagName="SurveyListControl" Src="UserControls/SurveyListControl.ascx" %>
<%@ Register TagPrefix="uc1" TagName="SurveyOptionControl" Src="UserControls/SurveyOptionControl.ascx" %>
<%@ Register TagPrefix="uc1" TagName="SurveyMessageConditonsControl" Src="UserControls/SurveyMessageConditonsControl.ascx" %>
<%@ Register TagPrefix="ftb" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentLinkAction" runat="server">
     <span class="action-span"><a href="SurveyPrivacy.aspx?SurveyID=<%=SurveyId%>">
        <%=GetPageResource("PrivacySettingsHyperlink")%></a> &nbsp;&nbsp;   <a href="SurveyOptions.aspx?SurveyID=<%=SurveyId%>">
        <%=GetPageResource("SurveySettingsHyperlink")%></a></span>
</asp:Content>


<asp:Content ID="Content2" ContentPlaceHolderID="ContentTitle" runat="server">
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ContentMain" runat="server">
<LINK href="css/nsurveyadmin.css" type=text/css rel=stylesheet >
<table class=TableLayoutContainer cellSpacing=0 cellPadding=0>
  <tr>
    <td class=contentCell vAlign=top><asp:label id=MessageLabel runat="server" Visible="False" ForeColor="Green"></asp:label>
      <table class=innerText>
        <TBODY>
        <tr>
          <td colSpan=2>
            <table>
              <tr>
                <td width="99%"><font class=titleFont 
                  ><asp:literal id=PrivacySettingsTitle 
                   runat="server" text="Privacy settings" 
                  EnableViewState="False"></asp:literal></FONT></TD>
                <td align=right><uc1:surveylistcontrol id=SurveyList runat="server"></uc1:surveylistcontrol></TD></TR></TABLE><IMG src="images/linebreak.gif" ></TD></TR>
        <tr>
          <td>&nbsp;&nbsp; </TD>
          <td>
            <table class=innerText>
              <TBODY>
              <TR>
                <TD noWrap width=140><STRONG 
                  ><asp:literal id=RedirectionURLLabel 
                   runat="server" text="Redirection URL :" 
                  EnableViewState="False"></asp:literal></STRONG></TD>
                <TD width=480><asp:textbox id=RedirectionURLTextBox runat="server"></asp:textbox></TD></TR></TR>
              <TR>
                <TD vAlign=top width=140><STRONG 
                  ><asp:literal id=ThanksMessageLabel 
                   runat="server" text="Thanks message :" 
                  EnableViewState="False"></asp:literal></STRONG></TD>
                <TD><FTB:FREETEXTBOX 
                  id=ThankYouFreeTextBox runat="server" 
                  BreakMode="LineBreak" Width="550px" 
                  AutoGenerateToolbarsFromString="true" 
                  SupportFolder="~/aspnet_client/FreeTextBox/" Height="300px" 
                  ToolbarStyleConfiguration="OfficeXP" 
                  UseToolbarBackGroundImage="true" EnableToolbars="True" 
                  ToolbarLayout="FontFacesMenu,FontSizesMenu,FontForeColorsMenu|Bold,Italic,Underline,Strikethrough;Superscript,Subscript,RemoveFormat|JustifyLeft,JustifyRight,JustifyCenter,JustifyFull;BulletedList,NumberedList,Indent,Outdent;CreateLink,Unlink,InsertImage,InsertRule|Cut,Copy,Paste;Undo,Redo,Print"></FTB:FREETEXTBOX></TD></TR></TR></TABLE><BR 
            ><asp:button id=ApplyPrivacyButton runat="server" Text="Apply changes" onclick="ApplyPrivacyButton_Click"></asp:Button><BR 
            ><BR></TD></TR></TBODY></TABLE>
      <table class=smallText>
        <TBODY>
        <tr>
          <td colSpan=2><font class=titleFont 
            ><asp:literal id=ThanksMessageConditionTitle 
             runat="server" 
            text="Thanks messages display conditions*" 
            EnableViewState="False"></asp:literal></FONT><br 
            ><IMG src="images/linebreak.gif" > </TD></TR>
        <tr>
          <td>&nbsp;&nbsp; </TD>
          <td><asp:HyperLink id=AddNewConditionHyperLink runat="server">Add new condition</asp:HyperLink>
            <table class=smallText width=700>
              <TBODY>
              <TR>
                <TD><uc1:surveymessageconditonscontrol id=SurveyMessageConditons runat="server"></uc1:SurveyMessageConditonsControl><BR>
                <asp:Label id=EvaluationMessageConditionInfo runat="server">Label</asp:Label></TD></TR></TR></TBODY>
                </TABLE></TD></TR></TBODY></TABLE></TD></TR>
                </TBODY></TABLE>
</asp:Content>
